export const columns = [
    {
        title: '创建时间',
        dataIndex: 'createTime',
        key: 'createTime',
        align: 'center',
        width: 180,
    },
    {
        title: '订单号',
        dataIndex: 'orderCode',
        key: 'orderCode',
        align: 'center',
        width: 200
    },
    {
        title: '支付单号',
        dataIndex: 'payOrderCode',
        key: 'payOrderCode',
        align: 'center',
        width: 200
    },
    {
        title: '手机号',
        dataIndex: 'phone',
        key: 'phone',
        align: 'center',
        width: 140
    },
    {
        title: '姓名',
        dataIndex: 'userName',
        key: 'userName',
        align: 'center',
        width: 140
    },
    {
        title: '产品名称',
        dataIndex: 'productName',
        key: 'productName',
        align: 'center',
        width: 140
    },
    {
        title: '可用天数',
        dataIndex: 'activeDay',
        key: 'activeDay',
        align: 'center',
        width: 120
    },
    {
        title: '开始时间',
        dataIndex: 'startDate',
        key: 'startDate',
        align: 'center',
        width: 120
    },
    {
        title: '结束时间',
        dataIndex: 'endDate',
        key: 'endDate',
        align: 'center',
        width: 120
    },
    {
        title: '优惠前价格',
        dataIndex: 'amount',
        key: 'amount',
        align: 'center',
        width: 120
    },
    {
        title: '支付金额',
        dataIndex: 'realAmount',
        key: 'realAmount',
        align: 'center',
        width: 120
    },
    {
        title: '支付方式',
        dataIndex: 'payType',
        key: 'payType',
        align: 'center',
        scopedSlots: { customRender: 'payType' },
        width: 130
    },
    {
        title: '订单状态',
        dataIndex: 'orderStatus',
        key: 'orderStatus',
        align: 'center',
        scopedSlots: { customRender: 'orderStatus' },
        width: 130
    },
    {
        title: '操作',
        dataIndex: 'operation',
        key: 'operation',
        align: 'center',
        // fixed: 'right',
        width: 140,
        scopedSlots: { customRender: 'operation' },
    },
]